﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using System.Threading;

namespace ProceduralGolf
{
    static class GraphicsMutex
    {
        static Mutex mutex = null;

        public static Mutex GetMutex()
        {
            if (mutex == null)
            {
                mutex = new Mutex();
            }
            return mutex;
        }
    }
}
